package com.dingchw.singlemusic.model.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.UUID;

@Entity(name="artists")
@Setter
@Getter
public class Artists{
	@Id
	private String artistid = UUID.randomUUID().toString();
	private String nationid;
	private String artistname;
	private String artistename;
	private String artistsex;
	private String artistdate;
	private String artistbloodtype;
	private String artistintroduction;
	private Integer artistdegree;
	private String artistico;
	private String nameabbreviation;
	private String parentid;
	private Integer artisttype;
}